/* 'A Leaf' CSS - http://gregdev.net */
body {
	font-size: 10pt;
	/* font-family: Monaco, monospace; */
	font-family: Verdana, monospace;

	background: #f4f5f0;
	text-align: center;
}

pre {
	font-size: 12px;
	padding: 0;
	margin: 0;
	background: #f0f0f0;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	line-height: 20px; /*--Height of each line of code--*/
	background: url(../images/pre_code_bg.gif) repeat-y left top; /*--Background of lined paper--*/
	width: 540px;
	overflow: auto; /*--If the Code exceeds the width, a scrolling is available--*/
	overflow-Y: hidden;  /*--Hides vertical scroll created by IE--*/
}

pre code {
	margin: 0 0 0 40px;  /*--Left Margin--*/
	padding: 18px 0;
	display: block;
}

/* content wrapper */

#wrap {
	color: #303030;
	margin: 0 auto;
	width: 750px;
	min-height: 1576px;
	height: auto;
	background: url('../images/bg.jpg') top no-repeat, #d9ebc3 url('../images/bg-reversed.jpg') bottom no-repeat;
	text-align: left;
}

/* title */

/* color: #5e8fbd;427bb0 */
#title {
	padding-top: 20px;
	margin-left: 10px;
	text-align: left;
	color: #CC6300;427bb0
	height: 100px;
}
#title h1 {
	font-size: 60pt;
	font-weight: normal;
	margin: 0;
}
#title a, a :visited {
	color: #CC6300;
	text-decoration: none;
}

#title a:hover, a:visited:hover {
	color: #427bb0;
	text-decoration: none;
}

#socialicons img {
	padding: 0px;
	margin: 0px; 
	border: 0px;
	float: right;
	position: relative;
}

/* Social media icons */
a.tooltip { 
    position: relative; 
} 
a.tooltip span { 
    display: none; 
} 
a.tooltip:hover span { 
    position: absolute; 
    display: block; 

    /* positioning */ 
    top: 30px; 
    left: 30px; 
    z-index: 100;

    /* styling */ 
    background-color: #d9ebc3; 
    color: #000000; 
	opacity: 0.8;
	padding: 3px;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/* main content */

#content {
	margin: 10px 0 0 5px;
	/* padding: 10px; */
	line-height: 1.8em;
	width: 565px;
	color: #222;
	min-height: 350px;
	float: left;
}

h1 {
	font-size: 2em;
	color: #CC6600;
}

h1.sectionheading {
	font-size: 2em;
	color: #CC6600;
	float: left;
	width: 500px;
}

h2 {
	font-size: 1.4em;
	color: #cd6918;
}

div.post-social {
	float: right;
}

.quote {
	color: #000;
	opacity: 0.5;
	filter: alpha(opacity=50);
	background: #b3d686;
	width: 500px;
	margin: 0 auto;
	padding: 5px;
}

blockquote p {
	color: #000;
	opacity: 0.5;
	filter: alpha(opacity=50);
	background: #B3D686;
	width: 480px;
	margin:1.5em 10px;
	padding:.5em 10px;
	font: italic;
}
blockquote * { quotes: '\201C''\201D''\2018''\2019'; }
blockquote > *:before { 
    color: #336600;
	content:open-quote;
	font: italic normal 12pt/1.2em Georgia;
	font-size:5em;
	line-height:.1em;
	margin-right:.27em;
	vertical-align:-.4em;
}

/* side menu */

#side {
	margin: 0px 0 10px 0;
	line-height: 1.8em;
	width: 175px;
	color: #000000;
	float: right;
	text-align: right;
	float: left;
}

#side ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.item {
	color: #000;
	display: block;
	background: #a6cca1;
	border: blue 2px solid;
	margin: 10px 5px 5px 10px;
	padding-right: 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	width: 150px;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.8em;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.item:hover {
	background: #f0b600;
	color: #000;
	text-decoration: none;
}

.itemsub {
	color: #000;
	font-size: 0.7em;
	display: block;
	background: #a6da87;
	border: blue 1px solid;
	margin: 3px 5px 0px 30px;
	padding-right: 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	width: 130px;
	text-decoration: none;
	font-weight: bold;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.itemsub:hover {
	background: #f0d307;
	color: #000;
	text-decoration: none;
}

/* image footer */

#footer {
	/* background: url('../images/foot.gif'); */
	position: relative;
	float: bottom;
	width: 750px;
	height: 200px;
	font-size: 8pt;
	padding: 15px;
	color: #595d8e;
	line-height: 0.5em;
	text-align: center;
}

.clear {
	clear: both;
	margin: 0;
	padding: 0;
	height: 0;
	overflow: hidden;
}

/* bottom stuff (copyright message, etc) */

#bottom {
	font-size: 8pt;
	padding: 15px;
	color: #595d8e;
	line-height: 0.5em;
	text-align: center;
}

#bottom a {
	color: #595d8e;
	text-decoration: underline;
}

#bottom a:hover {
	text-decoration: none;
}

#bottom img {
	/*margin: 5px;*/
	border: 0;
}

/* hyperlinks */

a {
	text-decoration: underline;
	color: #1267bc;
}

a:hover {
	text-decoration: underline;
	color: #d96b12;
}

/* tables */

table {
	border: 1px solid blue;
    border-radius: 3px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-align: left;
	font-size: 1em;
}

/*
td {
	border: 1px solid blue;
	padding: 0;
}
*/

/* input */

input,textarea {
	border: 1px solid #f0b600;
	background: #a6da87;
}

input:focus,
textarea:focus {
	background: #AAFFCC;
}

button {
    background: #FFFFFF;
}

/* 'A Leaf' CSS - http://gregdev.net */

div.maincontent {
	border: 2px solid #0000FF;
	text-align: left;
	font-size: 1em;
	padding-left: 10px;
	padding-right: 10px;
    border-radius: 5px;
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.subinfo {
	color: #000;
	background: #a6cca1;
	margin: 1px 1px 1px 1px;
	padding-right: 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	text-decoration: none;
	font-size: 0.8em;
	text-align: left;
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

pre.subinfo {
	color: #000;
	background: #a6cca1;
	margin: 1px 1px 1px 1px;
	padding-right: 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	text-decoration: none;
	font-size: 0.8em;
	text-align: left;
	font-family: Verdana, monospace;
}

div.commentcontent {
	border: 1px solid #5858FA;
	text-align: left;
	font-size: 1em;
	padding-left: 10px;
	padding-right: 10px;
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.commentheading {
	color: #000;
	background: #a6cca1;
	margin: 1px 1px 1px 1px;
	padding-right: 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	text-decoration: none;
	font-size: 0.9em;
}

div.commentbody {
	text-align: left;
	font-size: 1em;
}
/*
pre {
	white-space: -moz-pre-wrap;  Mozilla, supported since 1999 
	white-space: -pre-wrap;  Opera 4 - 6 
	white-space: -o-pre-wrap;  Opera 7 
	white-space: pre-wrap;  CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space 
	word-wrap: break-word;  IE 5.5+ 
}
*/
div.sidepanelheading {
	color: #000;
	display: block;
	background: #a6cca1;
	border: blue 2px solid;
	margin: 10px 5px 5px 10px;
	padding-right: 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	width: 150px;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.8em;
    border-radius: 2px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

div.sidepanelheading:hover {
	background: #f0b600;
	color: #000;
	text-decoration: none;
}

div.sidepanel {
	color: #000;
	font-size: 0.7em;
	display: block;
	background: #A6DA87;
	border: blue 1px solid;
	margin: 3px 5px 0px 30px;
	padding-right: 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	width: 130px;
	text-decoration: none;
	font-weight: bold;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

div.sidepanel:hover {
	background: #f0d307;
	color: #000;
	text-decoration: none;
}

#markdownimage {
	display: block;
	max-width: 540px;
}

div.markdownimagecontainer {
	border-style: none;
	text-align: center;
	background: #B3D686;
	font-size: 0.7em;
}

img {
	max-width: 540px;
}

/* Authentication menu */
.authmenu {
	font-size: 0.7em;
	display: float;
	background: #A6DA87;
	border: blue 1px solid;
	/* margin: 3px 5px 0px 30px; */
	padding-right: 2px;
	padding: 2px 2px 2px 2px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	/*width: 130px; */
	text-decoration: none;
	font-weight: bold;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.authmenu a {
	color: #d96b12;
}


div.flash {
    position: absolute;
    float: middle;
    padding: 10px;
    top: 0px;
    right: 0px;
    opacity: 0.75;
    margin: 10px 10px 10px 10px;
    text-align: center;
    clear: both;
    color: #fff;
    font-size: 11pt;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background: black;
    border: 2px solid #fff; 
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    z-index: 2;
}

div.error {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: red;
    color: white;
    padding: 3px;
    border: 1px solid #666;
}

/* Social Icons */

#title-facebook { 
	background: url(../images/facebook64.png); 
	width: 64px;
	height: 64px;
	position: relative;
	float: right;
}
#title-twitter { 
	background: url(../images/twitter64.png);
	width: 64px;
	height: 64px;
	position: relative;
	float: right;
}
#title-rss { 
	background: url(../images/rss64.png);
	width: 64px;
	height: 64px;
	display: block; 
	position: relative;
	float: right;
}
#title-googleplus  { 
	background: url(../images/googleplus64.png);
	width: 64px;
	height: 64px;
	position: relative;
	float: right;
}

.post-googleplus {
	background: url(../images/googleplus28.png);
	width: 28px;
	height: 28px;
	position: relative;
	float: right;
}

.post-twitter {
	background: url(../images/twitter28.png);
	width: 28px;
	height: 28px;
	position: relative;
	float: right;
}

/* Make div's into tables. */
#container {
	display: table;
	width: 100%;
}

#row  {
	display: table-row;
}

#left, #middle, #right {
	display: table-cell;
}

#right-comments {
	display: table-cell;
	text-align: right;
	white-space:nowrap;
}
